using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using MySql.Data.MySqlClient;
namespace ChuanPlus.FormControl
{
    public partial class ControlDebt : DevExpress.XtraEditors.XtraUserControl
    {
        public ControlDebt()
        {
            InitializeComponent();            
            //MySqlCommand command = new MySqlCommand("`chuanplus`.`spGetBestSaleProduct`", new MySqlConnection(ChuanPlus.Properties.Settings.Default.ChuanPlusConnectionString));
            //command.CommandType = System.Data.CommandType.StoredProcedure;
            //MySqlParameter param = new MySqlParameter("?FromDate", MySqlDbType.DateTime);
            //param.Value = DateTime.Parse("2008-09-01");
            //command.Parameters.Add(param);
            //param = new MySqlParameter("?ToDate", MySqlDbType.DateTime);
            //param.Value = DateTime.Parse("2008-09-30");
            //command.Parameters.Add(param);
            //MySqlDataAdapter adap = new MySqlDataAdapter(command);
            //DataSet ds = new DataSet();
            //adap.Fill(ds);
            //grid.DataSource = ds.Tables[0];
        }
    }
}
